package com.trt.eatmeat.test;

import java.util.Date;

import cn.hutool.core.date.DateUtil;

public class Utils {


    public static String getDayWeek(){
      int day =  DateUtil.dayOfWeek(new Date());
      String s="";
      switch (day){
          case 1:
              s="星期日";
              break;
          case 2:
              s="星期一";
              break;
          case 3:
              s="星期二";
              break;
          case 4:
              s="星期三";
              break;
          case 5:
              s="星期四";
              break;
          case 6:
              s="星期五";
              break;
          case 7:
              s="星期六";
              break;
          default:
              break;
      }
      return s;
    }
}
